﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YwhLib
{
    /// <summary>
    /// 问卷调查结果
    /// </summary>
    [FreeSql.DataAnnotations.Index("surveyresult_surveyid_inhabitantid", "SurveyId,InhabitantId", true)]
    public class SurveyResult
    {
        /// <summary>
        /// 问卷结果编号
        /// </summary>
        [FreeSql.DataAnnotations.Column(IsPrimary = true, IsIdentity = true)]
        public int SurveyResultId { get; set; }

        /// <summary>
        /// 问卷编号 
        /// </summary>
        public int SurveyId { get; set; }

        /// <summary>
        /// 居民编号
        /// </summary>
        public int InhabitantId { get; set; }

        /// <summary>
        /// 调查结果
        /// </summary>
        public string JsonResult { get; set; }
    }
}
